using System;
using System.Collections.Generic;
using System.Text;

namespace PlayTime
{
    public enum Position { North = 0, East, South, West };

    public class Bridge: CardGame
    {
        Session m_cSession = null;
        public Bridge()
        {
        }

        public Session Session
        {
            get { return m_cSession; }
        }

        internal void NewSession(string GameName)
        {
            m_cSession = PlayTime.Factory.getSession(GameName);
        }

        internal static Position getPosition(string strPos)
        {
            Position temp = Position.East;
            foreach (Position pos in Position.GetValues(typeof(Position)))
            {
                if (pos.ToString() == strPos)
                {
                    temp = pos;
                    break;
                }
            }
            return temp;         
        }
    }
}